package org.nepu.srr.domain.equipmentdata;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nepu.srr.domain.equipmentdata.converter.CommonInputConverter;
import org.nepu.srr.domain.equipmentdata.converter.CommonInputPlusConverter;
import org.nepu.srr.domain.equipmentdata.vo.CommonInput;
import org.nepu.srr.domain.equipmentdata.vo.CommonInputPlus;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
@ApiModel(value = "固井设备及管线证书参数")
public class PipelineCertificateParams {

    @ApiModelProperty("固井泵总成")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "pump_total")
    CommonInputPlus pumpTotal;

    @ApiModelProperty("固井管汇及阀门")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "pipeline_valve_and_valve")
    CommonInputPlus pipelineValveAndValve;

    @ApiModelProperty("固井高压软管")
    @Convert(converter = CommonInputPlusConverter.class)
    @Column(name = "high_pressure_soft_pipe")
    CommonInputPlus highPressureSoftPipe;

    @ApiModelProperty("自动混浆装置")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "auto_mixing_device")
    CommonInput autoMixingDevice;

    @ApiModelProperty("下灰系统")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "drainage_system")
    CommonInput drainageSystem;

    @ApiModelProperty("水柜及计量仪表")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "water_tank_and_meter")
    CommonInput waterTankAndMeter;

    @ApiModelProperty("其他有关仪器仪表")
    @Convert(converter = CommonInputConverter.class)
    @Column(name = "other_instruments_and_meters")
    CommonInput otherInstrumentsAndMeters;
}
